//未定义页面跳转拦截
export function NotFound_404(router) {
	const path = router.currentRoute.value.path;
	const route_list = router.getRoutes().map(item => item.path);
	if (!route_list.includes(path)) {
		router.push('/pages/Error/404');
	}
}
